// 引入需要全局注册的组件
import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import UploadImg from './UploadImg'
import ScreenFull from './ScreenFull'
import Lang from './Lang'
// 导出并全局注册组件
export default {
  install(Vue) {
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel) // 注册导入excel组件
    Vue.component('UploadImg', UploadImg) // 注册上传头像组件
    Vue.component('ScreenFull', ScreenFull) // 注册全屏组件
    Vue.component('Lang', Lang) // 注册语言切换组件
  }
}
